package com.example.myweb.Dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CollectionRequestDTO {
    // 字段名改为驼峰式，更符合Java规范
    @NotNull(message = "文章ID不能为空")
    private Long articleId;
}